﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    public enum NPCType { 
    Task,
    Shop,
    Iron
    }
    abstract class NPCF
    {
        private string name;
        private NPCType Type;

        public string Name { get => name; set => name = value; }
        public NPCType Type1 { get => Type; set => Type = value; }

        public NPCF() { }
        public NPCF(string name, NPCType Type1) {
            this.name = name;
            this.Type1 = Type1;
        }
        public abstract void Speak();

    }

}
